Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@citation-js/plugin-doi
Advanced tools
Plugin for DOI input for Citation.js.
npm install @citation-js/plugin-doi
Register by importing the package:
require('@citation-js/plugin-doi')
The plugin fetches data from DOIs using DOI Content Negotiation, which means the Crossref, DataCite, and mEDRA APIs are indirectly used.
Crossref strongly encourages
adding a mailto:
link to the User-Agent
header or URL parameters
to get higher rate limits. Because the Crossref API is only used indirectly,
the URL parameter method cannot be used consistently. Additionally, the User-Agent
header cannot be set in the browser. For non-browser usage however,
the user agent can be set like this:
const { util, version } = require('@citation-js/core')
util.setUserAgent(`Example Foo (mailto:foo@example.org) Citation.js/${version} Node.js/${process.versions.node}`)
Formats and other features added by this plugin.
Supports DOIs inputted in the following ways:
@doi/api
: a doi.org
URL@doi/id
: a single DOI@doi/list+text
: whitespace-separated list of DOIs@doi/list+object
: array of DOIsAdditionally, the following internal type is exposed:
@doi/type
: fix the type
value in certain API responsesFAQs
Plugin for DOI input for Citation.js
The npm package @citation-js/plugin-doi receives a total of 0 weekly downloads. As such, @citation-js/plugin-doi popularity was classified as not popular.
We found that @citation-js/plugin-doi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.